user="zhang"
passwd="abc123"
count=3

for i in range(count):
    name_str = input("Please input username: ")
    passwd_str = input("Please input password: ")
    if name_str == user and passwd_str == passwd:
        print("Login Success" )
        break
    else: 
        print("User or Password input error!")


# 来个错误次数提示？